package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.CommodityCatalog;
import cn.wolfcode.trip.base.domain.QuestionComment;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.mapper.CommodityCatalogMapper;
import cn.wolfcode.trip.base.mapper.QuestionCommentMapper;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.service.ICommodityCatalogService;
import cn.wolfcode.trip.base.service.IQuestionCommentService;
import cn.wolfcode.trip.base.util.UserContext;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class CommodityCatalogServiceImpl implements ICommodityCatalogService {

    @Autowired
    private CommodityCatalogMapper commodityCatalogMapper;
    @Override
    public List<CommodityCatalog> queryByType(Integer type) {
        return commodityCatalogMapper.selectByType(type);
    }
}
